package com.szcinda.service.dto.zadOrder;

import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.List;

@Data
public class ZadOrderUpdatePartDto implements Serializable {
    private String id;
    // 客户ID
    private String clientId;
    // 组织架构ID
    private String organizationId;
    // 客户名称
    private String clientName;
    // 订舱人
    private String bookName;
    private String businessId;
    private String businessNumber;

    private String bookNumber;
    private LocalDate pickDate;
    private String pickPlace;
    private int quantity;
    private double volume;
    private String cabinetType;
    private String cabinetNumber;
    private LocalDate preDepartureTime;
    private LocalDate actDepartureTime;
    private String originPlace;
    private String destPlace;
    private String carrierId;
    private String carrierName;
    private String userId;
    private String userName;
    private String calculateType;
    // 业务类型
    private String businessCode;
    private String goodsName;
    private String goodsDetailName;
    private Double goodsWeight;
    private String customsType;
    private LocalDateTime orderArriveTime;
    private LocalDateTime orderLeaveTime;
    private int orderBeyondDays;
    private LocalDate packageReturnDate;
    private int packageUseDays;
    private String invoice;
    private String settlement;
    private String outInvoice;
    private String outSettlement;
    private String opId;
    private String type;
    private String remark;
    private String billRemark;// 账单备注

    private List<OrderFollowDto> followDtos;

    @Data
    public static class OrderFollowDto implements Serializable {
        private String cabinetNumber;
        private String packagePic;
        private String customsFile;
        private String carFile;
        private String packageSolution;
        private String stFile;
        private String preOrderConfirm;
        private String transportOrder;
        private String customsReleaseOrder;
        private LocalDateTime arriveTime;
        private String dskAtbMrn;
        private String aging;
        private LocalDate remindDate;
    }
}
